package com.semlab.client.widgets;

import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;

/**
 * @author Slobodan
 */
public class StaticWrapper extends SimplePanel {

    private Widget widget;

    public void setWidget(Widget widget) {
        this.widget = widget;
    }

    @Override
    public void add(Widget w) {
        super.add(w);
    }

    @Override
    public void setVisible(boolean visible) {
        widget.setVisible(visible);
    }

    public Widget getWidget() {
        return widget;
    }

}
